package com.dhecp.project.logstics.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.business.domain.LogisticsMmode;

import java.util.List;
import java.util.Map;

/**
 * 物流方式  业务层
 * @Author fxz
 * @Date 2023/03/23
 */
public interface LogsticsMmodeService {
    /**
     * 查询物流方式
     * @param params
     * @Author: fxz
     * @date: 2023/03/23
     */
    List<LogisticsMmode> queryList(Map<String, Object> params) throws Exception;

    /**
     * 新增物流方式
     * @author fxz
     * @date: 2023-03-23 10:53
     */
    AjaxResult insertLogisticsMmodeServer(Map<String, Object> params);

    /**
     *@Description: 查询指定单nid的首记录
     *@Param: nid 必要参数：当前 单据编码
     *@Author: fxz
     *@date: 2023-03-24 09:00
     */
    LogisticsMmode queryFirstByGuid(Map<String, Object> params) throws Exception;

    /**
     * 修改物流方式
     * @author fxz
     * @date: 2022-09-22
     */
    AjaxResult updateLogisticsMmode(Map<String, Object> params);

    /**
     * 删除物流方式
     * @author fxz
     * @date: 2023-03-24
     */
    AjaxResult deleteLogisticsMmode(Map<String, Object> params);

    /**
     * 同步材质
     * @author fxz
     * @date: 2023-03-24
     */
    AjaxResult hotMaterial(Map<String, Object> params) throws Exception;
}
